using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace DataLayer.Model
{
    public class CheerMessagesGroup
    {
        [Key]
        public int Id { get; set; }

        [Required]
        [MaxLength(20)]
        public string Language { get; set; }

        public int Version { get; set; }

        public virtual ICollection<CheerMessage> CheerMessages { get; set; }

        public CheerMessagesGroup()
        {
            this.CheerMessages = new List<CheerMessage>();
        }
    }
}
